home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Shareware Gold
/
Windows Shareware Gold Volume 3 Number 1 (Sherburne Knowledge Systems) (1991).iso
/
utils
/
f3106
/
makefile
< prev
next >
Wrap
Makefile
|
1990-11-01
|
836b
|
33 lines
ALL: crdprt.exe
# these are compile flags
# -c means compile without linking
# -AM means compile for medium model
# -Zp1 means pack structure members on specified byte boundary
# -Ox means maximized optimization
# -W2 means set output level for compiler warning messages
CFLAGS= -c -AM -Zp1 -Ox -W2
# these are link flags
# /NOD means ignore default libraries
# /NOE means prevent linker from searching extended dictionary
LFLAGS= /NOD /NOE
# mlibce is the medium Microsoft library with math emulation
LIBS= mlibce
# file root name
FLRT= crdprt
# path to Microsoft C libraries (drive: & directory path)
LIBPATH=c:\c600\lib
# compile step
$(FLRT).obj: $(FLRT).c makefile
cl $(CFLAGS) $(FLRT).c
# link step
$(FLRT).exe: $(FLRT).obj
link $(LFLAGS) $(FLRT) $(LIBPATH)\setargv,,,$(LIBS)